Simple_History\Simple_History C

Total Complexity 115
Dependencies 69
Dependents 12
Total lines 1,408
Lines of code 619
Logical lines of code 272
Comment lines 593
Methods 52
Properties 10

Methods 52

Method Rating Maintainability Complexity Lines of code
get_log_row_html_output()
C
25
21 203
get_loggers_that_user_can_read()
A
47 7 39
get_log_row_details_output()
S
54 7 20
get_log_row_plain_text_output()
S
54 6 21
__call()
S
56 4 18
get_instantiated_dropin_by_slug()
S
63 4 11
get_instantiated_logger_by_slug()
S
63 4 11
get_settings_tabs()
S
54 3 23
get_log_row_header_output()
S
64 4 9
get_log_row_sender_image_output()
S
64 4 9
get_core_loggers()
S
50 1 32
get_service()
S
67 3 8
get_core_dropins()
S
54 1 23
get_services()
S
56 1 21
init()
S
66 2 9
register_plugin_with_license()
S
66 2 8
on_admin_footer()
S
74 2 5
on_admin_head()
S
74 2 5
get_instance()
S
71 2 6
load_service()
S
67 2 8
load_services()
S
74 2 5
register_settings_tab()
S
61 1 14
get_num_events_last_n_days()
S
75 1 4
get_num_events_per_day_last_n_days()
S
75 1 4
get_unique_events_for_days()
S
75 1 4
get_events_table_name()
S
82 1 3
set_instantiated_dropins()
S
81 1 3
get_instantiated_dropins()
S
82 1 3
set_instantiated_loggers()
S
81 1 3
get_instantiated_loggers()
S
82 1 3
get_contexts_table_name()
S
82 1 3
__construct()
S
82 1 3
clear_log()
S
75 1 4
register_dropin()
S
80 1 3
get_instantiated_services()
S
82 1 3
add_admin_actions()
S
75 1 4
setup_db_variables()
S
65 1 10
get_view_history_capability()
S
81 1 3
get_view_settings_capability()
S
75 1 4
user_can_clear_log()
S
75 1 4
register_logger()
S
80 1 3
get_external_loggers()
S
82 1 3
get_clear_history_interval()
S
75 1 4
get_external_dropins()
S
82 1 3
get_pager_size()
S
75 1 4
get_pager_size_dashboard()
S
75 1 4
is_on_our_own_pages()
S
75 1 4
does_database_have_data()
S
75 1 4
set_settings_tabs()
S
81 1 3
setting_show_on_dashboard()
S
75 1 4
setting_show_as_page()
S
75 1 4
get_view_history_page_admin_url()
S
78 1 3